on exitFrame global wpage set wpage to the framelabel go to the frame end